@import "../_config.scss";
.designers-community {
    .join-btn {
        padding: 10px 20px;
        background-color: $color-primary;
        color: #fff;
        border-radius: 0;
        border: 0;
    }
    .banner {
        img {
            min-height: 350px;
            width: 100%;
            margin-top: -1px;
        }
        .container {
            position: relative;
        }
        .suspension {
            position: absolute;
            bottom: 100px;
            h1 {
                margin-bottom: 30px;
                position: relative;
                font-size: 30px;
                color: #fff;
                span {
                    font-weight: bold;
                }
                &::after {
                    content: '';
                    width: 100px;
                    background-color: #fff;
                    height: 2px;
                    position: absolute;
                    top: 150%;
                    left: 0;
                }
            }
            p {
                color: #fff;
            }
        }
    }
    .advantage {
        border: 1px dashed $color-border;
        padding-top: 15px;
        padding-bottom: 15px;
        margin-top: 60px;
        margin-bottom: 60px;
        >div {
            padding-top: 15px;
            padding-bottom: 15px;
            &.right {
                border-left: 1px solid $color-border;
            }
            &.left {
                display: flex;
                flex-flow: row nowrap;
                .item {
                    width: 25%;
                    i {
                        font-size: 30px;
                        padding: 10px;
                        background-color: #fff;
                        box-shadow: 0px 0px 5px 5px #eeeeee;
                        border-radius: 50%;
                        color: $color-primary;
                    }
                    h1 {
                        font-size: 15px;
                    }
                }
            }
        }
        .join-tip {
            margin-top: 10px;
        }
    }
    .activities {
        width: 100%;
        background-color: #F6F7FC;
        padding: 40px 0;
        .title {
            font-size: 20px;
            color: #222222;
            small {
                color: #767676;
                font-size: 12px;
            }
        }
        .item {
            max-height: 540px;
            margin-bottom: 20px;
            img {
                cursor: pointer;
                width: 100%;
                height: 350px;
                &:hover {
                    opacity: 0.7;
                }
            }
            .item-info {
                padding: 25px 30px;
                background-color: #fff;
                h1 {
                    cursor: pointer;
                    margin: 0;
                    font-size: 18px;
                    color: #222222;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    &:hover {
                        color: $color-private;
                    }
                }
                p {
                    margin: 20px 0;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    display: -webkit-box;
                    -webkit-line-clamp: 3;
                    -webkit-box-orient: vertical;
                    min-height: 60px;
                    color: #666;
                }
                .time {
                    color: #999;
                }
            }
        }
        .more {
            margin-bottom: 20px;
            padding: 15px 0;
            background-color: #fff;
            color: #666666;
            a {
                &:hover {
                    color: $color-private;
                }
            }
        }
    }
    .carousl {
        .title {
            margin-top: 60px;
            margin-bottom: 30px;
            font-size: 20px;
            color: #222222;
            small {
                font-size: 12px;
                color: #767676;
            }
        }
    }
}